﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class vIncidenets : System.Web.UI.Page
{
    ManejoIncidentes _mi;
    protected void Page_Load(object sender, EventArgs e)
    {
        _mi = new ManejoIncidentes();
    }
    protected void btnGo_Click(object sender, EventArgs e)
    {
        _mi.Desc = txtDesc.Text;
        lblMensaje.Text = _mi.InsIncidente() ? "Registrado exitosamente" : "Error al registrar incidente" + DBMySql.Error;
    }
}